package com.gpframework.common.enums;

import lombok.Getter;

/**
 * 小程序路径枚举
 *
 * @author zcl
 */
@Getter
public enum SmallProgramPageEnum {
    QUESTIONNAIRE_SURVEY("问卷调查", "pack-index/questionnaireSurvey/questionnaireSurvey"),
    SMALL_PROGRAM("共同的小程序", "pack-user/user_login_brand/user_login_brand"),
    SMALL_PROGRAM_HOME("小程序首页", "pages/index/index");

    /**
     * 业务名称
     */
    private String name;

    private String url;

    private SmallProgramPageEnum() {
    }

    private SmallProgramPageEnum(String name) {
        this.name = name;
    }

    private SmallProgramPageEnum(String name, String url) {
        this.name = name;
        this.url = url;
    }
}
